package com.lovo.after.entity;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 批次
 */

@Data
@TableName("t_batch")
public class BatchEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private long batchId;
    //批次编号
    private String batchNo;
    //数量
    private int batchNum;
    //价格
    private float batchPrice;
    private String goodsName;
    //时间
    private String batchTime;
    //供应商编号
    private String supplierNo;
    //合同编码
    private String agreementCode;
    //供货标书编号
    private String tenderNo;
    //是否退货  0:不退  1:退了
    private int batchStatus;
    @TableField(exist = false)
    private GoodsEntity goods;
}
